<div class="pageContent">
	<form method="post" action="admin/fee/share/update" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<input type="hidden" name="shareFee.id" value="#(shareFee.id )"/>
		<input type="hidden" name="shareFee.isFixed" value="#(shareFee.isFixed)"/>
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>分润机构：</label>
				<input name="shareFee.orgCode" value="#(shareFee.orgCode)" type="text" size="30" class="required" />
			</p>
			#if(shareFee.isFixed == true)
				<p>
					<label>商户编号：</label>
					<input name="shareFee.merchCode" value="#(shareFee.merchCode)" type="text" size="30" class="required" />
				</p>
			#end
			<p>
				<label>渠道编号：</label>
				<select name="shareFee.channelCode" class="required combox">
					<option value="">请选择渠道</option>
               		#for(channel : channelList)
               			<option value="#(channel.code )" #(channel.code == shareFee.channelCode ? 'selected' : '' )>#(channel.name )</option>
               		#end
				</select>
			</p>
			<p>
				<label>支付类别：</label>
				<select name="shareFee.payTypeCode" class="required combox">
					<option value="">请选择类别</option>
               		#for(payType : payTypeList)
               			<option value="#(payType.code )" #(payType.code == shareFee.payTypeCode ? 'selected' : '' )>#(payType.name )</option>
               		#end
				</select>
			</p>
			<p>
				<label>分润费率：</label>
				<select name="shareFee.shareFeeId" class="required combox">
					<option value="">请选择费率</option>
               		#for(feeModel : feeModelList)
               			<option value="#(feeModel.id )" #(feeModel.id == shareFee.shareFeeId ? 'selected' : '' )>#(feeModel.name )</option>
               		#end
				</select>
			</p>
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
